package com.vf.admin.client.service.impl;

import com.vf.admin.client.dao.AppSetSameCityDao;
import com.vf.admin.client.service.AppSetSameCityService;
import com.vf.admin.miaodong.entity.AppSetSameCity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AppSetSameCityServiceImpl implements AppSetSameCityService {
    @Autowired
    private AppSetSameCityDao appSetSameCityDao;
    @Override
    public List<AppSetSameCity> getList() {
        return appSetSameCityDao.getList();
    }

    @Override
    public AppSetSameCity findById(Integer id) {
        return appSetSameCityDao.get(id,AppSetSameCity.class);
    }
}
